import { post } from '../http'

/**
 * @description: 获取虚拟钥匙控车单列表
 * @param data
 * @return Promise
 */
export const getCarControlList = (data) => post({ url: '/carControl/pageList', data })
/**
 * @description: 拦截
 * @param data
 * @return Promise
 */
export const interceptControl = (data) => post({ url: '/carControl/interceptControl', data })
/**
 * @description: 删除控车单
 * @param data
 * @return Promise
 */
export const carControlRemove = (data) => post({ url: '/carControl/remove', data })
/**
 * @description: 即刻启用
 * @param data
 * @return Promise
 */
export const carControlEnableNow = (data) => post({ url: '/carControl/enableNow', data })
/**
 * @description: 重发短信
 * @param data
 * @return Promise
 */
export const carControlReSendSms = (data) => post({ url: '/carControl/reSendSms', data })
/**
 * @description: 虚拟钥匙控车单详情
 * @param data
 * @return Promise
 */
export const carControlDetail = (data) => post({ url: '/carControl/detail', data })
/**
 * @description: 添加虚拟钥匙控车单
 * @param data
 * @return Promise
 */
export const carControlCreate = (data) => post({ url: '/carControl/create', data })
/**
 * @description: 编辑虚拟钥匙控车单
 * @param data
 * @return Promise
 */
export const carControlModify = (data) => post({ url: '/carControl/modify', data })
